import ruleOpt from '@/biz/option/rule.js'
let _this = null

function options(vm) {
  _this = vm
  let arr = [{
    title: '银行名称',
    key: 'bankName',
    placeholder: '请输入银行名称',
    input: {},
    rules: [ruleOpt.required('银行名称不可为空', 'string')]
  }, {
    title: '支行名称',
    key: 'subBankName',
    placeholder: '请输入支行名称',
    input: {},
  }]

  return arr
}

export default {
  options
}